
QL_ERROR_DEF( QL_OK )


QL_ERROR_DEF( QL_ERR_INVALID_ARGUMENTS )

/* generic failure result */
QL_ERROR_DEF( QL_ERR_FAIL )

/* error, that specifies an implementation issue */
QL_ERROR_DEF( QL_ERR_RUNTIME_ERROR )

/* reader-specific errors */
QL_ERROR_DEF( QL_ERR_UNKNOWN_SYMBOL )
QL_ERROR_DEF( QL_ERR_UNMATCHED_OPEN_BRACE )
QL_ERROR_DEF( QL_ERR_UNMATCHED_CLOSE_BRACE )
QL_ERROR_DEF( QL_ERR_NON_TERMINATED_STRING )
QL_ERROR_DEF( QL_ERR_MALFORMED_TOKEN )

/* evaluator-specific errors */
QL_ERROR_DEF( QL_ERR_FIRST_TOKEN_ISNT_FUNCTION_NAME )
QL_ERROR_DEF( QL_ERR_CALL_TO_UNDEFINED_FUNCTION )
QL_ERROR_DEF( QL_ERR_EVALUATION_FAILED ) /* this is for those functions, who call internal_evaluate inside */
QL_ERROR_DEF( QL_ERR_STOP )

/* fatal errors */
QL_ERROR_DEF( QL_ERR_OUT_OF_MEMORY )
QL_ERROR_DEF( QL_ERR_WRONG_CONF )
QL_ERROR_DEF( QL_ERR_WRONG_RELEASE )
QL_ERROR_DEF( QL_ERR_WRONG_LIST_TO_FREE )
